//
//  PlaceNet.h
//  SportSocial
//
//  Created by yull on 15/1/21.
//  Copyright (c) 2015年 yull. All rights reserved.
//

#import "BaseNet.h"

@interface PlaceNet : BaseNet

+ (AFHTTPRequestOperation *)searchPlaceWithName:(NSString *)name
                                     pageNumber:(NSInteger)page
                                       pageSize:(NSInteger)size
                                   successBlock:(httpSuccessBlock)successBlock
                                      failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)getPlaceActivityWithPlaceId:(UInt64)placeId
                                             pageNumber:(NSInteger)pageNumber
                                               pageSize:(NSInteger)pageSize
                                           successBlock:(httpSuccessBlock)successBlock
                                              failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)getPlacePhotoWithPlaceId:(UInt64)placeId
                                          pageNumber:(NSInteger)pageNumber
                                            pageSize:(NSInteger)pageSize
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;

@end
